-- GENERATED SPELL FOR [Scorched Basilisk] --


function spell0_4041(pUnit, Event) --@Crystalline Slumber,n/a--
pUnit:FullCastSpellOnTarget(3636,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4041', 17000, 1)
end

function Sorts_4041(pUnit, Event)
local choix_sorts_4041 = math.random(0, 0)
if choix_sorts_4041 == 0 then
pUnit:RegisterEvent('spell0_4041', 1, 1)
end
end

function mob4041_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4041', math.random(1500, 3000), 1)
end

function mob4041_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4041_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4041_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4041, 1, 'mob4041_Action')
RegisterUnitEvent(4041, 2, 'mob4041_Leave')
RegisterUnitEvent(4041, 3, 'mob4041_Kill')
RegisterUnitEvent(4041, 4, 'mob4041_Die')
